package com.atguigu.structure.adapter.classadapter;

public class VoltageAdapter extends Voltage220V implements Voltage5V{
    @Override
    public int output5V() {
        int src=super.output220V();
        System.out.println("适配降压:220V->5V");
        int dst=src/44;

        return dst;
    }
}
